package com.ideal.manage.esms.service.report;

import com.ideal.manage.esms.bean.report.ReporTearnings;
import com.ideal.manage.esms.repository.report.ReportTearingsRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ReportTearningsService {
    @Autowired
    private ReportTearingsRepository reportTearingsRepository;
    /**
     * 收益和环保贡献查找
     */
    public List<ReporTearnings> findAll() {
        return reportTearingsRepository.findAll();
    }
}
